import 'package:base_flutter/base_flutter.dart';
import 'package:flutter/services.dart';

class HomeMainViewModel extends BaseViewModel{
  HomeMainViewModel(super.context);

  var item = [
    '鸡腿',
    '蔬菜',
    '米饭','水饺'
  ];

  Function()? onStatusComplete;

  @override
  void onCreated() {
    super.onCreated();
    Future.delayed(Duration(milliseconds: 10),(){
      if(onStatusComplete!=null){
        onStatusComplete!();
      }
    });
  }

  void initIcon(){

  }
}